Further Inductive Mercury Programming and IMP0.5

نویسندگان

  • Barnaby Fisher
  • James Cussens
چکیده

We explore the use of Mercury for Inductive Logic Programming and present IMP0.5, the product of our research. Mercury is a compiled logic programming language with modern features, which requires the user to write type, mode and determinism declarations for each of their predicates. This information is used by the Mercury compiler to optimise generated code, which, amongst other things, enables Mercury to provide faster execution than Prolog. IMP0.5 is an ILP system, and an ILP software library, which contains re-usable modules of ILP related code. Our aim in creating IMP0.5 as a software library was to significantly reduce the effort required to implement new ILP algorithms. We feel this has been achieved and provide implementations of some typical ILP algorithms, the most notable being the Aleph default algorithm. Since Mercury is a purely declarative language run-time assertion of induced hypotheses is prohibited. Therefore, hypotheses are represented as ground terms, and, to enable fast cover testing, interpreted with a problem specific interpreter, which is generated at compile-time. We also use a cover set representation based on RL-Trees, which is very space efficient and thus beneficial for large searches. Empirical results are generally good, especially for complex background knowledge, and in one case shows a 56 times speed-up compared with Aleph.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Inductive Mercury Programming

We investigate using the Mercury language to implement and design ILP algorithms, presenting our own ILP system IMP. Mercury provides faster execution than Prolog. Since Mercury is a purely declarative language, run-time assertion of induced clauses is prohibited. Instead IMP uses a problem-specific interpreter of ground representations of induced clauses. The interpreter is used both for cover...

متن کامل

Mercury toxicity

Mercury is a metal found in elemental, organic, and inorganic forms in the nature. This substance is present in the composition of earth crust, soil, air, and even in some tissues of plants and sea animals. Each year nearly 3400 tons of mercury compounds are released in the environment, which 95% settle in the soil, 3% in the oceans, and 2% in the atmosphere. Different industrial products li...

متن کامل

Learning Phonotactics Using ILP

This paper describes experiments on learning Dutch phonotactic rules using Inductive Logic Programming, a machine learning discipline based on inductive logical operators. Two different ways of approaching the problem are experimented with, and compared against each other as well as with related work on the task. The results show a direct correspodence between the quality and informedness of th...

متن کامل

History of Science and the Material Theory of Induction: Einstein’s Quanta, Mercury’s Perihelion

The use of the material theory of induction to vindicate a scientist’s claims of evidential warrant is illustrated with the cases of Einstein’s thermodynamic argument for light quanta of 1905 and his recovery of the anomalous motion of Mercury from general relativity in 1915. In a survey of other accounts of inductive inference applied to these examples, I show that, if it is to succeed, each a...

متن کامل

When Is a Type Refinement an Inductive Type?

Dependently typed programming languages allow sophisticated properties of data to be expressed within the type system. Of par-ticular use in dependently typed programming are indexed types that refine data by computationally useful information. For example, the Nindexed type of vectors refines lists by their lengths. Other data types may be refined in similar ways, but programmers must produce ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009